﻿package plugin.lianzhiexp
{
    import com.sh.game.consts.*;
    import com.sh.game.global.*;
    import manager.*;
    import view.*;

    public class Lianzhiexp extends FlashUIBase
    {
        private var UI:LianzhiexpUICtrl;

        public function Lianzhiexp()
        {
            return;
        }// end function

        override protected function preLoaderInit() : void
        {
            super.preLoaderInit();
            appendLoader(Config.getUrl("assets/images/mornui/common.swf", ResourceType.NORMAL));
            appendLoader(Config.getUrl("assets/images/mornui/lianzhiexp.swf", ResourceType.NORMAL));
            return;
        }// end function

        override protected function initGUI() : void
        {
            this.UI = new LianzhiexpUICtrl(this);
            mGUI = this.UI;
            return;
        }// end function

        override protected function openRefresh() : void
        {
            PluginManager.instance.sendToBufferServer("lianzhiexp", 1, null);
            return;
        }// end function

    }
}
